<?php

class DunDomainsModel extends \think\Model
{
    protected $table = 'dun_domains';
    protected $pk = 'id';

    public function group()
    {
        return $this->belongsTo(DunGroupsModel::class, 'groupid');
    }

}